<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:void(0)">{$data.name}-
                <if condition="$data['verify'] eq 0">
                    <span class="label label-danger">未审核</span>
                    <elseif condition="$data['verify'] eq 1"/>
                    <span class="label label-success">审核通过</span>
                    <elseif condition="$data['verify'] eq 2"/>
                    <span class="label label-danger">审核失败</span>
                    <elseif condition="$data['verify'] eq 3"/>
                    <span class="label label-danger">下架</span>
                </if>
            </a></li>
    </ul>

    <table class="table table-hover table-bordered">
        <tr>
            <td colspan="10"><b>基础信息</b></td>
        </tr>
        <tr>
            <td>ID</td> <td>{$data.id}</td>
            <td>名称</td> <td>{$data.name}</td>
            <td>商标状态</td> <td>{$data.stauts}</td>
            <td>商标注册号</td><td>{$data.registe_code}</td>
            <td>商标分类</td><td>{$data.classify}</td>
        </tr>
        <tr>
            <td>类似群组</td> <td>{$data.like_group}</td>
            <td>使用范围</td> <td>{$data.area_limit}</td>
            <td>商标图片</td> <td>{$data.icon}</td>
            <td>商标名称组合</td><td>{$data.name_group}</td>
            <td>商标商品或服务</td><td>{$data.product}</td>
        </tr>
        <tr>
            <td colspan="10"><b>注册信息</b></td>
        </tr>
        <tr>
            <td>商标申请号</td> <td>{$data.apply_code}</td>
            <td>代理机构</td> <td>{$data.proxy}</td>
            <td>申请人</td> <td>{$data.apply_name}</td>
            <td>申请人地址：</td><td>{$data.apply_address}</td>
            <td>所属区域</td><td>{$data.zone}</td>
        </tr>
        <tr>
            <td>商标申请日期</td> <td>{$data.apply_date}</td>
            <td>商标注册日期</td> <td>{$data.regist_date}</td>
            <td>商标有效截止日期</td> <td>{$data.limit_date}</td>


        </tr>
        <tr>
            <td colspan="10"><b>商售信息</b></td>
        </tr>
        <tr>
            <td>出售价格(元)</td><td>{$data.sale}</td>
            <td>卖家姓名</td><td>{$data.sale_name}</td>
            <td>卖家电话</td> <td>{$data.sale_tel}</td>
            <td>是否共有商标：</td> <td><if condition="$data.is_com_mark eq '1'">是 <else /> 否 </if></td>
            <td>是否存在侵权诉讼</td> <td><if condition="$data.is_tort eq '1'">是 <else /> 否 </if></td>

        </tr>
        <tr>
            <td>是否存在权利质押</td> <td><if condition="$data.is_pledge eq '1'">是 <else /> 否 </if></td>
        </tr>


        <tr>
            <td colspan="10"><b>上传人员信息</b></td>
        </tr>
        <tr>
            <td>上传人员</td> <td>{$data.nickname}</td>
            <td>上传人员电话</td> <td>{$data.customer_tel}</td>
            <td>录入时间</td><td>{$data.create_time}</td>
        </tr>
        <tr>
            <td colspan="10"><b>审核情况</b></td>
        </tr>
        <tr>
            <td>审核情况</td> <td><if condition="$data['verify'] eq 0">
                    <span class="label label-danger">未审核</span>
                    <elseif condition="$data['verify'] eq 1"/>
                    <span class="label label-success">审核通过</span>
                    <elseif condition="$data['verify'] eq 2"/>
                    <span class="label label-danger">审核失败</span>
                    <elseif condition="$data['verify'] eq 3"/>
                    <span class="label label-danger">下架</span>
                </if></td>
        </tr>

        <!--<tr>
            <td colspan="10"><b>更新时间</b></td>
        </tr>
        <tr>

            <td>最新更新时间</td><td>{$data.update_time}</td>
        </tr>-->
    </table>
    <if condition="$data['verify'] eq 0 ">
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/markVerify',array('id'=>$data['id'],'val'=>1))}">通过</a>
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/markVerify',array('id'=>$data['id'],'val'=>2))}">不通过</a>
        <elseif condition="$data['verify'] eq  2" />
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/markVerify',array('id'=>$data['id'],'val'=>1))}">通过</a>
    </if>
    <if condition="$data['verify'] eq 3">
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/markVerify',array('id'=>$data['id'],'val'=>1))}">上架</a>
        <else />
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/markVerify',array('id'=>$data['id'],'val'=>3))}">下架</a>
    </if>

</div>
<script src="__STATIC__/js/admin.js"></script>
<script src="__STATIC__/js/NZ-Window.min.js"></script>
<script src="__STATIC__/js/NZ-Drag.min.js"></script>
<script>
    $(function () {
        var id = $(this).attr('data')
        $(".test").click(function () {
            $.NZ_Window.show({
                url: "{:url('task/markDetail')}"+"?id="+id,
                width: 1024,
                height: 800,
                title: ""
            });
        });
    })
</script>
</body>
</html>